<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/html">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
    <meta name="content-type" content="text/html; charset=UTF-8" />
    <title>用户钱包</title>
    <link rel="stylesheet" th:href="@{/bootstrap/css/bootstrap.min.css}" type="text/css" media="screen" />
    <script type="text/javascript" th:src="@{/jquery/jquery-1.12.4.min.js}"></script>
    <script type="text/javascript" th:src="@{/bootstrap/js/bootstrap.min.js}"></script>

</head>
<body>


<div class="panel panel-default">
    <ol class="breadcrumb">
        <li><a href="/admin/user/">APP用户管理</a></li>
        <li class="active">用户钱包</li>
    </ol>

    <div style="padding: 10px">
        <!-- Table -->
        <div class="row">
            <div class='col-sm-5'>
                <table class="table" style="border-top-width:0px;border: 1px solid #dddddd;">
                    <th:block th:if="${respUserWallet}">
                        <tr>
                            <td><span>现金余额:</span></td>
                            <td><span th:text="${respUserWallet.chargeAmt+respUserWallet.giveAmt+'元'}"></span></td>
                        </tr>
                        <tr>
                            <td><span>红包余额:</span></td>
                            <td><span th:text="${respUserWallet.redPackageAmt+'元'}"></span></td>
                        </tr>
                        <tr>
                            <td><span>优惠券:</span></td>
                            <td><span th:text="${respUserCouponCount+'张'}"></span></td>
                        </tr>
                        <tr>
                            <td><span>积分:</span></td>
                            <td><span th:text="${respUserWallet.bonusPoints}"></span></td>
                        </tr>
                    </th:block>
                </table>
            </div>
        </div>
    </div>
</div>

</body>
</html>